package com.zhq.zhq_blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;

@TableName("tb_ranking_list")
@ApiModel(value = "排行榜对象", description = "")
public class RankingList {

    @TableId(value = "blog_id", type = IdType.AUTO)
    private Integer blogId;

    private Integer flow;

    public Integer getBlogId() {
        return blogId;
    }

    public void setBlogId(Integer blogId) {
        this.blogId = blogId;
    }

    public Integer getFlow() {
        return flow;
    }

    public void setFlow(Integer flow) {
        this.flow = flow;
    }

    @Override
    public String toString() {
        return "RankingList{" +
                "blogId=" + blogId +
                ", flow=" + flow +
                '}';
    }
}
